package com.sen.patterns.structural.decorator.ex3;

/**
 * 包装器
 * 
 * @author sen
 * 
 */
public class Decorator implements VisualComponent {

	private VisualComponent component;

	public Decorator(VisualComponent component) {
		this.component = component;
	}

	public void draw() {
		component.draw();
	}

	public void resize() {
		component.resize();
	}

}
